From: Florian Müllner Date: Fri, 29 Nov 2024 16:54:32 +0000 (+0100) Subject: ci: Change `update-mutter` to also install to sysext dir X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~173^2^2~147 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fd4320156c930f9bbafea286280d6d9e739eca1f;p=gnome-shell.git ci: Change `update-mutter` to also install to sysext dir Out development toolbox contains an `update-mutter` command to make it easier to keep mutter up-to-date for people who only want to deal with gnome-shell. To allow them to make use of the new sysext tooling, change the command to install both to the toolbox root and the sysext directory. Part-of: --- diff --git a/.gitlab-ci/build-toolbox-image.sh b/.gitlab-ci/build-toolbox-image.sh index da9e1f852..9c0fb5e79 100755 --- a/.gitlab-ci/build-toolbox-image.sh +++ b/.gitlab-ci/build-toolbox-image.sh @@ -57,7 +57,10 @@ build_container() { local update_mutter=$(mktemp) cat > $update_mutter <<-EOF #!/bin/sh - /usr/libexec/install-meson-project.sh https://gitlab.gnome.org/GNOME/mutter.git $MUTTER_BRANCH + TOOLBOX=\$(. /run/.containerenv; echo \$name) + /usr/libexec/install-meson-project.sh \\ + --destdir=/ --destdir=/var/lib/extensions/\$TOOLBOX \\ + https://gitlab.gnome.org/GNOME/mutter.git $MUTTER_BRANCH EOF buildah copy --chmod 755 $build_cntr $update_mutter /usr/bin/update-mutter